<?php 
/*
* 首页日志列表部分
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>

<div id="body">

<div id="content" class="clearfix">
		<?php doAction('index_loglist_top'); ?>	
<article id="post-10" class="post-10 post type-post status-publish format-standard hentry category-uncategorized post clearfix">
<?php foreach($logs as $key => $value): ?>
	
	<h1 class="post-title"><?php topflg($value['top']); ?><a href="<?php echo $value['log_url']; ?>"><?php echo $value['log_title']; ?></a></h1>

	<p class="post-meta">
	<time class="post-date" pubdate=""><?php echo gmdate('Y年n月j日', $value['date']); ?></time> 
		<span class="post-author"><?php blog_author($value['author']); ?></span>
		<span class="post-category"><?php blog_sort($value['logid']); ?></span>
		<span class="post-comment"><a href="<?php echo $value['log_url']; ?>">浏览(<?php echo $value['views']; ?>)</a></span>
		<span class="post-comment"><a href="<?php echo $value['log_url']; ?>#comments" title="《<?php echo $value['log_title']; ?>》上的评论"><?php echo $value['comnum']; ?>条评论</a></span>
		<span class="post-tag"><?php blog_tag($value['logid']); ?></span>
		
			</p>
		<div class="note-list"><?php if($key==0) echo $value['log_description']; ?></div><hr />
	
	<div style="clear:both;"></div>
<?php endforeach; ?>	
</article>
<!-- /.post -->	

<div id="pagenavi">
	<div class="content g">
         	<span class="newer"></span>
                <span class="older"><?php echo $page_url;?></span>
                <div class="fixed"></div>
</div>
</div>
</div><!-- end #content-->

<?php
 include View::getView('side');
 include View::getView('footer');
?>
